package com.woniu.lifeservice.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 分类表
 * </p>
 *
 * @author hushunlai
 * @since 2023-05-22
 */
@Getter
@Setter
  @TableName("t_category")
@ApiModel(value = "Category对象", description = "分类表")
public class Category implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("分类id")
      @TableId(value = "category_id", type = IdType.AUTO)
      private Integer categoryId;

      @ApiModelProperty("分类名称")
      private String categoryName;

      @ApiModelProperty("服务分类等级")
      private Byte serviceCategory;

      @ApiModelProperty("创建时间")
      @TableField(fill = FieldFill.INSERT)
      private Date createTime;

      @ApiModelProperty("更新时间")
      @TableField(fill = FieldFill.INSERT_UPDATE)
      private Date updateTime;
}
